home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-08-14 | 2.9 KB | 76 lines | [TEXT/ttxt] |
-
-
- FTPack Scripting Interface
- -------------------------
-
- For programmers eyes only…
-
- All the parameters accessible through the Configuration Dialogs
- can also be set through the Scripting Interface.
-
- Following is the syntax of the Scripting Interface.
- Please, refer to the General Help for the meaning of each parameter.
- You can also test your Scripts with the Sample application from Apple.
-
-
- Session Configuration :
- ShowSessions true | false
- Session "session name"
-
- Server Configuration :
- RemoteAddress "host name" | "IP address"
-
- Access Configuration :
- User "user name"
- Password "password (or "encrypted pwd" returned by FTGetConfig())
- Account "account" (or "encrypted pwd" returned by FTGetConfig())
- ShowDialog true | false
- ShowFiles true | false
- FullList true | false
- Look "look (format) name"
- LogFile true | false
- LogName "file name"
- FullLog true | false
-
- Transfer Configuration :
- TransmitLF true | false
- SkipLF true | false
- XferMode ascii | binary | macBinary
- SendMode store | storeUnique | append
- ReceiveMode cancel | prompt | rename | append | overwrite
- Document "document name" (ex: "TeachText Doc")
- Creator "creator" (ex: "ttxt")
- Type "type" (ex: "TEXT")
-
- Script Configuration :
- UseScript true | false
- ScriptAlerts true | false
- Script [cmd◊cmd◊…] (Commands are described in the General Help)
- (They must be between '[]', or '{}' or '||' and
- separated by Opt-Shift-V '◊')
-
- Options Configuration :
- MacTCPBuffer 16384 | 32768 | 65536 | 131072
- BlocksSize 1024 | 2048 | 4096 | 8192 | 16384 | 32768
- ConnectTime decimal value (0…255)
- ControlTime decimal value (0…255)
- DataTime decimal value (0…255)
- RepeatTYPECmd true | false
- UsePORTCmd true | false
- ControlPort decimal value (3…65535, should stay 21)
-
- Extensions Configuration :
- LoginPatch "string" (ex: "CWD /users/john")
- ReceivePatch "string" (ex: "STRU r")
- SendPatch "string" (ex: "STRU r")
- ListPatch "string" (ex: "SITE UNIX")
- LogoutPatch "string" (ex: "DELE *.temp")
- NlstCmd "string" (should be "NLST" or "NLST -a" only)
- ListCmd "string" (should be "LIST" or "LIST -a" only)
- DirUpCmd "string" (should be "CDUP" or "CWD .." only)
-
-
- Notes :
- - UseScript, Script and DirUpCmd are available since version 1.1 only.
- - Look, ScriptAlerts and RepeatTYPECmd are available since version 1.2 only.
-